package com.wu.service;

import com.wu.pojo.po.orgPo.OrgBase;
import com.wu.pojo.res.Result;
import com.wu.pojo.po.userPo.User;

import java.util.List;
import java.util.Map;

/**
 * description:
 * Author:wuzhengru
 * Date:2021/2/20-22:25
 */
public interface UserService {

    User selectOne(User user);
    List<User> selectList(User user);
    List<User> selectListByMap(Map map);
    Result register(User user, OrgBase orgBase) throws Exception;
    boolean insertUser(User user);
    boolean updateUser(User user);
    boolean deleteUser(String id);

}
